<include file="Index:header_top" />

		<!-- PublicHeadLayout Begin -->
		<!-- 顶部广告展开效果-->
		<if condition="$adv_h0.adv_states eq '1'">
		<div class="wrapper">
			<a href="javascript:void(0);" title="关闭"></a>
			<a href="#" target="_blank" title="{$adv_h0.adv_title}"><img style="width:1200px;height:90px" border="0" src="{$adv_h0.adv_pic}" alt="{$adv_h0.adv_title}"></a>
		</div>
		</if>
		<!-- 顶部广告展开效果-->
		<div class="header-wrap">
			<header class="public-head-layout wrapper">
				<h1 class="site-logo"><a href="/">
				<volist name="service" id="vo">
				<eq name="vo.name" value="net_logo" >
					<if condition="$vo.value neq ''">
					<img src="{$vo.value}" class="pngFix">
					<else/>
						<volist name="service" id="vo">
						<eq name="vo.name" value="net_logo" >
							<if condition="$vo.value neq ''">
							<img src="{$vo.value}" class="pngFix">
							<else/>
							<img src="__PUBLIC__/Home/images/logo.png" class="pngFix">
							</if>
						</eq>
						</volist>
					</if>
				</eq>
				</volist>
				</a></h1>
				<div class="site-ad">
					<!-- <a href="" title="顶部logo边广告"><img style="width:100px;height:70px" border="0" src="__PUBLIC__/Home/images/05048168915006375.gif" alt=""></a> -->
				</div>
				<div class="head-search-bar">
					<div id="search">
						<ul class="tab">
							<li act="search" class="current"><span>商品</span><i class="arrow"></i></li>
							<li act="store_list"><span>店铺</span></li>
						</ul>
					</div>
					<form class="search-form" method="get" action="{:U('shop/fenlei')}">
						<input type="hidden" value="goods_search" id="search_act" name="search_act">
						<input placeholder="请输入您要搜索的商品关键字" name="keyword" id="keyword" type="text" class="input-text" value="" maxlength="60" x-webkit-speech="" lang="zh-CN" onwebkitspeechchange="foo()" x-webkit-grammar="builtin:search">
						<input type="submit" id="button" value="搜索" class="input-submit">
					</form>
					<!--搜索关键字-->
					<div class="keyword">热门搜索：
						<ul>
							<li>
								<a href="/shop/show_store.html?stid=15">心心向善</a>
							</li>
							<li>
								<a href="/shop/fenlei.html?gc_name=女装">女装</a>
							</li>
							<li>
								<a href="/shop/fenlei.html?gc_name=魅力彩妆">魅力彩妆</a>
							</li>
						</ul>
					</div>

				</div>

				<div class="head-user-menu">
					<dl class="my-mall">
						<if condition="$username neq ''">
						<dt><span class="ico"></span>我的商城<i class="arrow"></i></dt>
						<dd>
							<div class="sub-title">
								<h4>{$username} 
									<div class="nc-grade-mini" style="cursor:pointer;">V0</div>                      
								</h4>
								<a href="/member.html" class="arrow">我的用户中心<i></i></a>
							</div>
<!-- 							<div class="user-centent-menu">
								<ul>
									<li>
										<a href="/member.html">站内消息(<span>0</span>)</a>
									</li>
									<li>
										<a href="/member/swjydd.html">我的订单<i></i></a>
									</li>
									<li>
										<a href="/member.html">咨询回复(<span id="member_consult">0</span>)</a>
									</li>
									<li>
										<a href="/member/wdsp.html" class="arrow">我的收藏<i></i></a>
									</li>
									<li>
										<a href="/member.html">代金券(<span id="member_voucher">0</span>)</a>
									</li>
									<li>
										<a href="/member.html" class="arrow">我的积分<i></i></a>
									</li>
								</ul>
							</div> -->
<!-- 							<div class="browse-history">
								<div class="part-title">
									<h4>最近浏览的商品</h4>
									<span style="#">全部浏览历史</a></span>
								</div>
							</div> -->
						</dd>
					</dl>
					</if>	
					  <dl class="my-cart">
						<div class="addcart-goods-num" style="display:none;"></div>
						<dt><span class="ico"></span>我的购物车<i class="arrow"></i></dt>
						<dd data-type="top_cart">

						</dd>
					  </dl>
				</div>
			</header>
		</div>
		<!-- PublicHeadLayout End -->
		<script type="text/javascript">

			$('dd[data-type="top_cart"]').each(function(){
				var aa=$('dd[data-type="top_cart"]').load('http://'+SHOP_SITE_URL+'/cart.html?act=cart&op=ajax_load&type=top_cart');
			});
			
			var cart_s = '{$cart_goods_num}' ;

			if (cart_s) {				
				$('div .addcart-goods-num').html(cart_s).show() ;
			}			
		</script>
